-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: 27252 Profile pic gets removed in offline mode #27757
Conversation
@eVoloshchak Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@eVoloshchak Can you please review my PR when you have a chance? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug:
- change profile pic
- turn the internet off, wait for the pic to appear
- click on the picture -> select "View photo"
- endless loading spinner appears
Bug 2:
- change profile pic
- turn the internet off, wait for the pic to appear
- click on the picture and select "Remove photo"
- the app crashes
Screen.Recording.2023-09-21.at.10.11.02.mov
@eVoloshchak Fixed above bugs. Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tienifr, tests well
- Android screen recording is missing
- mweb Chrome screen recording is actually safari
My mWeb Chrome recording was not Safari. Safari's navigation bar is at the bottom while Chrome's is top. Let me update the Android recording shortly. |
@eVoloshchak I've updated the Android recording. |
Apologies, I noticed iOS interface and assumed it was Safari |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-09-24.at.15.33.22.movMobile Web - Chromescreen-20230925-140224.mp4Mobile Web - SafariScreen.Recording.2023-09-25.at.13.41.53.movDesktopScreen.Recording.2023-09-25.at.13.47.22.moviOSScreen.Recording.2023-09-25.at.13.40.24.movAndroidscreen-20230925-135800.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug:
- change profile pic
- turn the internet off, wait for the pic to appear
- turn the internet back again
- notice the image changes to a grey placeholder
Screen.Recording.2023-09-24.at.16.29.24.mov
@eVoloshchak I saw this problem, but it still happens even on staging, so I think it's out of this scope. If I vividly remember we already have the GH to fix this. |
Encountered two more issues on Android (mWeb and native), confirmed they're also present on main and aren't caused by this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me as well
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/srikarparsi in version: 1.3.75-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.75-12 🚀
|
🚀 Deployed to staging by https://github.com/srikarparsi in version: 1.3.76-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.76-6 🚀
|
Details
Fixed Issues
$ #27252
PROPOSAL: #27252 (comment)
Tests
Offline tests
Same as above
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screen.Recording.2023-09-19.at.15.14.19.mp4
Mobile Web - Chrome
379992812_6491739430943428_8796245882039910085_n.mp4
Mobile Web - Safari
379182332_6661663210561868_8506279743171738234_n.mp4
Desktop
Screen.Recording.2023-09-19.at.15.30.15.mov
iOS
Screen.Recording.2023-09-19.at.15.39.22.mov
Android
Screen.Recording.2023-09-22.at.20.29.54-compressed.mov